Step 1: Create a repository A Git repository, or repo, is a folder that you've told Git to help you track file changes in. You can have any number of repos on your computer, each stored in their own folder. Step 2: Create a branch Branch policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards. Step 3: Add a build validation policy When a build validation policy is enabled, a new build is queued when a new pull request is created or when changes are pushed to an existing pull request targeting this branch. The build policy then evaluates the results of the build to determine whether the pull request can be completed. Scenario: Implement a code flow strategy for Project2 that will: Enable Team2 to submit pull requests for Project2. Enable Team2 to work independently on changes to a copy of Project2. Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2. Proj ct2 will us n automa 1c buil Hey A small earn of a velo rs n m d Team2 111 ork independe yon changes to the pro will not have errruss,ons to Pro ect2. References: https://docs.microsoft.com/en-us/azure/devops/repos/git/manage-your-branches
Step 1: Create a repository
A Git repository, or repo, is a folder that you've told Git to help you track file changes in. You can have any number of repos on your computer, each stored in their own folder.
Step 2: Create a branch
Branch policies help teams protect their important branches of development. Policies enforce your team's code quality and change management standards.
Step 3: Add a build validation policy
When a build validation policy is enabled, a new build is queued when a new pull request is created or when changes are pushed to an existing pull request targeting this branch. The build policy then evaluates the results of the build to determine whether the pull request can be completed.
Scenario:
Implement a code flow strategy for Project2 that will:
Enable Team2 to submit pull requests for Project2.
Enable Team2 to work independently on changes to a copy of Project2. Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2.
Proj ct2 will us n automa 1c buil Hey A small earn of a velo rs n m d Team2 111 ork independe yon changes to the pro will not have errruss,ons to Pro ect2.
References:
https://docs.microsoft.com/en-us/azure/devops/repos/git/manage-your-branches